package com.yanqu.road.logic.bussiness.union;

import com.yanqu.road.logic.bussiness.DaoHelper;
import com.yanqu.road.entity.union.UserUnionChamberData;

public class UserUnionBussiness {
    public static UserUnionChamberData getUserUnionChamberData(long userId) {
        return DaoHelper.getUserUnionChamberDaoImpl().getUserUnionChamberData(userId);
    }

    public static boolean addUserUnionChamberData(UserUnionChamberData userUnionChamberData){
        return DaoHelper.getUserUnionChamberDaoImpl().add(userUnionChamberData);
    }

    public static boolean updateUserUnionChamberData(UserUnionChamberData userUnionChamberData){
        return DaoHelper.getUserUnionChamberDaoImpl().update(userUnionChamberData);
    }
}
